/*
 * @Author: Jimmy
 * @LastModifiedBy: Jimmy
 * @Date: 2024-07-07 15:54:13
 * @LastEditTime: 2024-07-27 13:16:27
 * @FilePath: /nest_study/web/src/api/monitor/online.ts
 */
import { TQueryList, TResponse } from "@/api/index.type";
import { http } from "@/utils/request";

//列表
export const remoteList = (params: TQueryList) => {
    return http.get<TResponse>(`/api/monitor/online/list`, { params })
}

//强制退出
export const removeInfo = (token: string, id: number) => {
    return http.delete(`/api/monitor/online`, { data: { token, id } })
}